<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'idtb_detalles'); ?>
		<?php echo $form->textField($model,'idtb_detalles'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'nombrecontacto'); ?>
		<?php echo $form->textField($model,'nombrecontacto',array('size'=>60,'maxlength'=>100)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'nombregerente'); ?>
		<?php echo $form->textField($model,'nombregerente',array('size'=>60,'maxlength'=>100)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'telefonocontacto'); ?>
		<?php echo $form->textField($model,'telefonocontacto',array('size'=>40,'maxlength'=>40)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'telefonogenrente'); ?>
		<?php echo $form->textField($model,'telefonogenrente',array('size'=>40,'maxlength'=>40)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'direccioncontacto'); ?>
		<?php echo $form->textField($model,'direccioncontacto',array('size'=>60,'maxlength'=>100)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'direcciongerente'); ?>
		<?php echo $form->textField($model,'direcciongerente',array('size'=>60,'maxlength'=>100)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'faxempresa'); ?>
		<?php echo $form->textField($model,'faxempresa',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'direccionalterna'); ?>
		<?php echo $form->textField($model,'direccionalterna',array('size'=>60,'maxlength'=>100)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'telefonomovil'); ?>
		<?php echo $form->textField($model,'telefonomovil',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'email'); ?>
		<?php echo $form->textField($model,'email',array('size'=>60,'maxlength'=>100)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'vendedorasignado'); ?>
		<?php echo $form->textField($model,'vendedorasignado',array('size'=>60,'maxlength'=>100)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ranking'); ?>
		<?php echo $form->textField($model,'ranking'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'tb_cliente_codigo'); ?>
		<?php echo $form->textField($model,'tb_cliente_codigo',array('size'=>20,'maxlength'=>20)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'tb_zonas_idtb_zonas'); ?>
		<?php echo $form->textField($model,'tb_zonas_idtb_zonas'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Buscar'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->